package com.neusoft.neuiotms.dcam.fixed.dto;

import java.util.List;

import com.neusoft.bizcore.web.dto.AbstractAuditDTO;
import com.neusoft.neuiotms.common.dto.DictionaryDTO;
import com.neusoft.neuiotms.dcam.fixed.model.enums.ExtFieldDataTypeEnum;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class AssetExtFieldConfigDTO extends AbstractAuditDTO {

    private static final long serialVersionUID = -5683550917720004091L;

    private Boolean show;

    // 序号
    private Long sequence;

    // 字段名不能为空
    private String name;

    // 扩展列字段
    private String extColumn;

    // 是否必填
    private Boolean required;

    // 是否显示
    private Boolean showed;

    // 默认值
    private String defaultValue;

    // 数据类型
    private ExtFieldDataTypeEnum dataType;

    // 数据值域
    private String dataValue;

    // 校验规则
    private String validateRule;

    // 状态是否启用
    private Boolean status;

    // 字典数据
    private List<DictionaryDTO> extDicData;
}
